package com.mc.code.web;

import com.mc.code.service.ItemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
public class IndexController {


    @Autowired
    private ItemsService itemsService;

    @RequestMapping("/")
    public String outLogin(Model model) {
        return "outLoginIndex";
    }

    @RequestMapping("/outLoginIndex")
    public String outLoginIndex() {
        return "outLoginIndex";
    }

    @RequestMapping("/help")
    public String help() {
        return "help";
    }

    @RequestMapping("/login")
    public String login() {
        return "login";
    }

    @RequestMapping("/register")
    public String register() {
        return "register";
    }

    @RequestMapping("/itemDetails")
    public String itemDetails() {
        return "itemDetails";
    }


}
